package com.iOS.service;

import com.iOS.dto.NoteExecution;
import com.iOS.entity.Note;
import org.springframework.stereotype.Service;

@Service
public interface NoteService {
    /**
     * 增加笔记
     */
    NoteExecution addNote(Note note);

    /**
     * 删除笔记
     */
    NoteExecution deleteNoteById(int Id);

    /**
     * 更新笔记
     */

    NoteExecution updateNoteById(Note note);
    /**
     * 查询笔记
     */
    NoteExecution queryAllNote(int userId);

}
